package com.qr.bean.wmyw;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:20:51
 */
@ApiModel(value = "qr_banner", description = "轮播图")
@TableName(value = "qr_banner")
public class QrBanner implements Serializable {
	@ApiModelProperty(value = "主键id")
	@TableId(type = IdType.AUTO,value = "b_id")
	@NotNull(message = "主键id不能为空")
	private Integer b_id;
	@ApiModelProperty(value = "外部h5地址")
	@TableField(value="url")
	private String url;
	@ApiModelProperty(value = "大号在前")
	@TableField(value="sort")
	private Integer sort;
	@ApiModelProperty(value = "状态:启用=1 禁用=2")
	@TableField(value="status")
	private Integer status;
	@ApiModelProperty(value = "标题")
	@TableField(value="title")
	private String title;
	@ApiModelProperty(value = "配图，按效果图尺寸")
	@TableField(value="icon")
	private String icon;
	@ApiModelProperty(value = "判断状态正常，时间在当前时间之前")
	@TableField(value="begin_time")
	@NotNull(message = "判断状态正常，时间在当前时间之前不能为空")
	private Timestamp begin_time;

 
	public Integer getB_id() {
		return b_id;
	}
	public void setB_id(Integer b_id) {
		this.b_id = b_id;
	}
 
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
 
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
 
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
 
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
 
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
 
	public Timestamp getBegin_time() {
		return begin_time;
	}
	public void setBegin_time(Timestamp begin_time) {
		this.begin_time = begin_time;
	}

}